package hr.dario.kosh;

import android.app.Activity;
import android.widget.Button;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.content.Intent;

public class naslovactivity extends Activity {
    /** Called when the activity is first created. */
	Activity activity = this;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        
        Button btn = (Button)this.findViewById(R.id.naslovna_btn_zujanje_okolo);
        btn.setOnClickListener(new OnClickListener(){
        	public void onClick(View v){
				Intent i = new Intent(activity, zujanjeactivity.class);
       		 startActivity(i);  
        	}
        });
    }
}